//
//  SHPEmoticonModel.swift
//  weibo
//
//  Created by songhuipan on 16/4/25.
//  Copyright © 2016年 songhuipan. All rights reserved.
//

import UIKit

class SHPEmoticonModel: NSObject {
    
    var chs:String?
    /// 图片名字
    var png:String?
    /// 是否是emoji表情,type ==  0 图片表情  type == 1 emoji表情
    var type:String?{
        didSet{
            
            if type == "0"{
                isEmoji = false
            }else {
                isEmoji = true
            }
        }
    }
    var code:String?
    /// 图片全路径
    var path:String?
    
    var isEmoji:Bool = false
    
    init(dic:[String:AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dic)
    }
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
        
    }

}
